export const removeDuplicates = (str: string) => {
  const newStr = str.slice(4, 6)
  return newStr
}
console.log(removeDuplicates('abbaca')) // ca
console.log(removeDuplicates('aaddukcaac')) // uk
// export const reformatNumber=(str1:string)=>{
//   const newStr1=str1.split("-");
// }
// console.log(reformatNumber("1-23 345 8989"))
